package com.wondertek.service.entity.business;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wondertek.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @description:设备报警设置
 * @author: qinjianhui
 * @create: 2024-07-15 16:43
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("device_attribute_alarm")
public class DeviceAttributeAlarmPo extends BaseEntity {

    /*
     * 用户id
     * */
    @Schema(name = "deviceTypeId",description = "用户id")
    private String deviceTypeId;

    /*
     * 部门id
     * */
    @Schema(name = "deviceTypeCode",description = "部门id")
    private String deviceTypeCode;

    /*
     * 报警字段
     * */
    @Schema(name = "attribute",description = "报警字段")
    private String attribute;

    /*
     * 报警值
     * */
    @Schema(name = "alarmValue",description = "报警值")
    private String alarmValue;

    /*
     * 判断类型：\n1、大于\n2、大于等于\n3、等于\n4、小于等于\n5、小于
     * */
    @Schema(name = "judgeType",description = "判断类型：\\n1、大于\\n2、大于等于\\n3、等于\\n4、小于等于\\n5、小于")
    private String judgeType;
}

